﻿namespace Ayatta.Contract.Domain
{

    #region AccountDetailIntegral

    public class AccountDetailIntegral:BaseEntity<int>
    {

        /// <summary>
        /// True为收入 False为支出
        /// </summary>
        /// <value></value>
        public bool Flow { get; set; }

        /// <summary>
        /// 收入/支出分组 当Flow=1时 0为系统赠送 1为竞购获得拍品兑换为积分 3为玩游戏达到一定等级获得 当Flow=0时 0为使用积分兑换商品消耗
        /// </summary>
        /// <value></value>
        public int Group { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <value></value>
        public int UserId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <value></value>
        public int Amount { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <value></value>
        public int IntegralPre { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <value></value>
        public int IntegralNow { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <value></value>
        public string ForeignKey { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <value></value>
        public string Subject { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <value></value>
        public string Message { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <value></value>
        public string Extra { get; set; }

        /// <summary>
        /// 
        /// </summary>
        /// <value></value>
        public bool Status { get; set; }

    }

    #endregion
    
}